[HVM][HAP] Fix up some memory allocation bugs
authorTim Deegan <Tim.Deegan@xensource.com>
Wed, 28 Mar 2007 08:40:42 +0000 (08:40 +0000)
committerTim Deegan <Tim.Deegan@xensource.com>
Wed, 28 Mar 2007 08:40:42 +0000 (08:40 +0000)
commit323f94128711e712914fbaffcbe0ef1807a41970
treee6881d87b618bb07ab0205929c8cf378e66c6383
parent38ef20418f0258392db499fe772a3abea23a6835
[HVM][HAP] Fix up some memory allocation bugs

The attached patch initializes count_info of newly allocated hap page
with 0, and removes unnecessary page deallcation when destroying monitor
table. Without this patch, destroying hap domain will fail.

Signed-off-by: Wei Huang (wei.huang2@amd.com)
xen/arch/x86/mm/hap/hap.c